package com.nuoniu.sibanyun.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * @ClassName CrmCustomerFinanceVo
 * @Description 客户-财务信息
 * @Authpr baiqiang
 * @Date 2021/2/19 14:59
 **/
@Data
@ApiModel("客户-财务信息")
public class CrmCustomerFinanceVo extends BaseEntity {

    /******************  客户信息 ********************/

    @ApiModelProperty(value = "客户名称")
    @TableField("crm_name")
    private String crmName;

    @ApiModelProperty(value = "客户简称")
    @TableField("crm_simple_name")
    private String crmSimpleName;

    @ApiModelProperty(value = "客户编号")
    @TableField("crm_no")
    private String crmNo;

    @ApiModelProperty(value = "汉语拼音")
    @TableField("phonetic")
    private String phonetic;

    @ApiModelProperty(value = "法人代表")
    @TableField("legal_person")
    private String legalPerson;

    @ApiModelProperty(value = "省市编码")
    @TableField("area_id")
    private Integer areaId;

    @ApiModelProperty(value = "省市名称")
    @TableField("area_name")
    private String areaName;

    @ApiModelProperty(value = "企业规模")
    @TableField("enterprise_scale")
    private String enterpriseScale;

    @ApiModelProperty(value = "注册资金")
    @TableField("register_capital")
    private String registerCapital;

    @ApiModelProperty(value = "所属行业")
    @TableField("industry")
    private String industry;

    /******************  财务信息（开票信息） ********************/

    @ApiModelProperty(value = "客户ID（往来单位）")
    @TableField("crm_id")
    private Integer crmId;

    @ApiModelProperty(value = "往来单位 社会统一代码")
    @TableField("company_number")
    private String companyNumber;

    @ApiModelProperty(value = "纳税性质(一般纳税人/小规模税人)")
    @TableField("tax_nature")
    private String taxNature;

    @ApiModelProperty(value = "电话（开票电话）")
    @TableField("phone")
    private String phone;

    @ApiModelProperty(value = "地址（开票地址）")
    @TableField("address")
    private String address;

    @ApiModelProperty(value = "开户银行")
    @TableField("opening_bank")
    private String openingBank;

    @ApiModelProperty(value = "银行账户")
    @TableField("bank_account")
    private String bankAccount;

    @ApiModelProperty(value = "电子发票接收邮件")
    @TableField("electronic_invoice_email")
    private String electronicInvoiceEmail;

    @ApiModelProperty(value = "电子发票接收电话")
    @TableField("electronic_invoice_phone")
    private String electronicInvoicePhone;

    @ApiModelProperty(value = "描述/备注")
    @TableField("remarks")
    private String remarks;


//    @ApiModelProperty(value = "会计年度")
//    @TableField("fiscal_year")
//    private Integer fiscalYear;

//    @ApiModelProperty(value = "往来性质：1:客户，2:供应商，3:客户/供应商")
//    @TableField("partner_type")
//    private Integer partnerType;

//    @ApiModelProperty(value = "税率")
//    @TableField("tax_rate")
//    private BigDecimal taxRate;

//    @ApiModelProperty(value = "信用等级")
//    @TableField("credit_grade")
//    private String creditGrade;
//
//    @ApiModelProperty(value = "信用额度")
//    @TableField("credit_limit")
//    private BigDecimal creditLimit;
//
//    @ApiModelProperty(value = "风险等级")
//    @TableField("risk_level")
//    private String riskLevel;

//    @ApiModelProperty(value = "往来单位联系人")
//    @TableField("contact_man")
//    private String contactMan;
//
//    @ApiModelProperty(value = "往来单位联系电话")
//    @TableField("contact_phone")
//    private String contactPhone;
//
//    @ApiModelProperty(value = "往来单位联系人地址")
//    @TableField("contact_address")
//    private String contactAddress;
//
//    @ApiModelProperty(value = "租户分管部门ID")
//    @TableField("charge_office_id")
//    private Integer chargeOfficeId;
//
//    @ApiModelProperty(value = "租户分管部门名称")
//    @TableField("charge_office_name")
//    private Integer chargeOfficeName;
//
//    @ApiModelProperty(value = "租户分管人员ID")
//    @TableField("charge_user_id")
//    private Integer chargeUserId;
//
//    @ApiModelProperty(value = "租户分管人员名称")
//    @TableField("charge_user_name")
//    private Integer chargeUserName;



}
